package bjut.zrpc.core.optimization.interfaces;



import bjut.zrpc.core.optimization.annotation.SPI;
import bjut.zrpc.core.optimization.message.ZRpcRequestMessage;

import java.net.InetSocketAddress;

/**
 * @Author: zhuzhiming
 * @Date: 2022/6/24 18:44
 */
@SPI(value = "zookeeper")
public interface ServiceDiscover {

    InetSocketAddress lookupService(ZRpcRequestMessage zRpcRequestMessage);

}
